﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SysSurv.dtl
{
    [Serializable]
    class UserSurvey
    {
        #region Attributes
        private User _usrUser;
        private Survey _srvSurvey;
        private List<Answer> _lstSelAnswers;
        #endregion
        #region Properties
        public User usrUser
        {
            get { return _usrUser; }
            set { _usrUser = value; }
        }
        public Survey srvSurvey
        {
            get { return _srvSurvey; }
            set { _srvSurvey = value; }
        }
        public List<Answer> lstSelAnswers
        {
            get { return _lstSelAnswers; }
            set { _lstSelAnswers = value; }
        }
        #endregion
        #region Constructors
        public UserSurvey() { }
        public UserSurvey(User vUser, Survey vSurvey, List<Answer> vSelAnswers) {
            _usrUser = vUser;
            _srvSurvey = vSurvey;
            _lstSelAnswers = vSelAnswers;
        }
        #endregion
    }
}
